package com.bdqn.bean.course;


import java.time.LocalDate;
import java.util.Arrays;
import java.util.List;

public class Course {
  private int id;
  private String name;
  private String notice;
  private String intro;
  private boolean charg;
  private double price;
  private int time;
  private int studyNo;
  private int level;
  private String log;

  public String getLog() {
    return log;
  }

  public void setLog(String log) {
    this.log = log;
  }

  private String[] courseTypes;
  private List<Section> sections;

  @Override
  public String toString() {
    return "Course{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", notice='" + notice + '\'' +
            ", intro='" + intro + '\'' +
            ", charg=" + charg +
            ", price=" + price +
            ", time=" + time +
            ", studyNo=" + studyNo +
            ", level=" + level +
            ", log='" + log + '\'' +
            ", courseTypes=" + Arrays.toString(courseTypes) +
            ", sections=" + sections +
            '}';
  }

  public List<Section> getSections() {
    return sections;
  }

  public void setSections(List<Section> sections) {
    this.sections = sections;
  }

  public String[] getCourseTypes() {
    return courseTypes;
  }

  public void setCourseTypes(String[] courseTypes) {
    this.courseTypes = courseTypes;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getNotice() {
    return notice;
  }

  public void setNotice(String notice) {
    this.notice = notice;
  }

  public String getIntro() {
    return intro;
  }

  public void setIntro(String intro) {
    this.intro = intro;
  }

  public boolean isCharg() {
    return charg;
  }

  public void setCharg(boolean charg) {
    this.charg = charg;
  }

  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }

  public int getTime() {
    return time;
  }

  public void setTime(int time) {
    this.time = time;
  }

  public int getStudyNo() {
    return studyNo;
  }

  public void setStudyNo(int studyNo) {
    this.studyNo = studyNo;
  }

  public int getLevel() {
    return level;
  }

  public void setLevel(int level) {
    this.level = level;
  }
}
